import {Module, register} from "../core-native";
import MenuPage from "../pages/MenuPage";
import {RootState} from "../types";

class MenuModule extends Module<RootState, "menu"> {}

const module = register(new MenuModule("menu", {}));
export const MenuActions = module.getActions();
export const Menu = module.attachLifecycle(MenuPage);
